mini-os: build fixes for lwip 1.3.2
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 30 Jan 2013 10:38:37 +0000 (02:38 -0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 30 Jan 2013 10:38:37 +0000 (02:38 -0800)
commit122b7986416622dbddeb71fdbc41aa93b5f7bbab
tree6ecc6a59d3c0d3fc687e1300f2514610b03dc2c9
parent6cf13d0d523e20557e11a94fda51452f54c3a1b5
mini-os: build fixes for lwip 1.3.2

Various fixes to mini-os needed to build lwip 1.3.2:

- Don't build the tests.
- Add BSD-style endianness macros to endian.h.
- free() is called via a function pointer so it needs to be a real
  function.  Do the same for malloc() and realloc().

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Committed-by: Keir Fraser <keir@xen.org>
extras/mini-os/Makefile
extras/mini-os/README
extras/mini-os/include/endian.h
extras/mini-os/include/xmalloc.h
extras/mini-os/lib/xmalloc.c